package com.gongj.populateBean.autowired;

import javax.annotation.Resource;


public class B {
	//Autowired
	@Resource
	OrderService orderService;

//	@Autowired
//	ProductService orderService;
	///Optional<OrderService> orderService;
/*
	@Value("${order}")
*/  //Map<String,OrderService> orderService;

	//List<OrderService> orderService123;
//	OrderService[] orderService123;
	public void test(){
		System.out.println("orderService = " + orderService);
	}
	public void setOrder(OrderService order){
		System.out.println("setOrder = " +order);
	}

	public void setORder(OrderService order){
		System.out.println("setORder = " + order);
	}
}
